.class public Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/support/v4/view/ViewPager$OnPageChangeListener;
.implements Landroid/view/View$OnClickListener;
.implements Lcom/waiqin365/lightapp/dailyreport/view/ah;
.implements Lcom/waiqin365/lightapp/dailyreport/view/aj;
.implements Lcom/waiqin365/lightapp/view/fd;


# instance fields
.field private A:J

.field private B:Landroid/support/v4/view/ViewPager;

.field private C:Landroid/widget/LinearLayout;

.field private D:Ljava/util/List;

.field private E:Ljava/util/List;

.field private F:[Landroid/widget/ImageView;

.field private G:I

.field private H:Landroid/widget/RelativeLayout;

.field private I:Landroid/view/SurfaceView;

.field private J:Landroid/widget/ImageView;

.field private K:Landroid/widget/RelativeLayout;

.field private L:Landroid/widget/TextView;

.field private M:Landroid/graphics/Paint;

.field private N:Ljava/util/List;

.field private O:Ljava/lang/String;

.field private P:Lcom/waiqin365/lightapp/dailyreport/c/j;

.field private Q:Z

.field private R:Ljava/lang/String;

.field private S:Lcom/waiqin365/compons/view/c;

.field a:Ljava/text/SimpleDateFormat;

.field b:Ljava/util/Calendar;

.field c:Landroid/content/IntentFilter;

.field d:Landroid/graphics/Path;

.field e:I

.field f:Landroid/content/BroadcastReceiver;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/LinearLayout;

.field private i:Landroid/os/Handler;

.field private j:Lcom/waiqin365/lightapp/view/ImagePreview;

.field private k:Landroid/widget/ImageView;

.field private l:Landroid/widget/TextView;

.field private m:Landroid/widget/ImageView;

.field private n:Landroid/widget/ImageView;

.field private o:Landroid/widget/ImageView;

.field private p:Landroid/widget/ImageView;

.field private q:Landroid/widget/ImageView;

.field private r:Landroid/widget/TextView;

.field private s:I

.field private t:Lcom/waiqin365/lightapp/dailyreport/ah;

.field private u:Lcom/waiqin365/compons/c/g;

.field private v:Lcom/waiqin365/compons/c/f;

.field private w:I

.field private x:I

.field private y:Landroid/widget/TextView;

.field private z:J


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Landroid/content/IntentFilter;

    invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->c:Landroid/content/IntentFilter;

    new-instance v0, Landroid/graphics/Path;

    invoke-direct {v0}, Landroid/graphics/Path;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->d:Landroid/graphics/Path;

    const/16 v0, 0x168

    iput v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->e:I

    iput v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->w:I

    iput v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->x:I

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->N:Ljava/util/List;

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/ab;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/dailyreport/ab;-><init>(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->f:Landroid/content/BroadcastReceiver;

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->O:Ljava/lang/String;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->Q:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->L:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;Lcom/waiqin365/compons/c/f;)Lcom/waiqin365/compons/c/f;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->v:Lcom/waiqin365/compons/c/f;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 4

    if-eqz p1, :cond_0

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    invoke-virtual {p2, p1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p2, p1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v1

    add-int/2addr v1, v0

    if-lez v0, :cond_1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const/4 v3, 0x0

    invoke-virtual {p2, v3, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p2, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    :cond_0
    :goto_0
    return-object p2

    :cond_1
    invoke-virtual {p2, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p2

    goto :goto_0
.end method

.method private a()V
    .locals 11

    const/16 v4, 0x8

    const/4 v10, 0x4

    const/4 v9, 0x2

    const/4 v8, 0x1

    const/4 v7, 0x0

    const v0, 0x7f0c0658

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f0c0657

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    invoke-virtual {v1, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v1, 0x7f0c0659

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->r:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->r:Landroid/widget/TextView;

    invoke-virtual {v1, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    iput-wide v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->A:J

    const v1, 0x7f0c05bc

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->g:Landroid/widget/TextView;

    const v1, 0x7f0c05c0

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->h:Landroid/widget/LinearLayout;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->b()V

    const v1, 0x7f0c05bd

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    invoke-virtual {v1, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v1, 0x7f0c05bf

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->y:Landroid/widget/TextView;

    const v1, 0x7f0c05ac

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/RelativeLayout;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->H:Landroid/widget/RelativeLayout;

    const v1, 0x7f0c05ae

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/view/SurfaceView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->I:Landroid/view/SurfaceView;

    const v1, 0x7f0c05b0

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->J:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->J:Landroid/widget/ImageView;

    invoke-virtual {v1, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v1, 0x7f0c05af

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/RelativeLayout;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->K:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->H:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v4}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    const v1, 0x7f0c05b1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->L:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->L:Landroid/widget/TextView;

    const v2, 0x7f0803db

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v1, Landroid/graphics/Paint;

    invoke-direct {v1}, Landroid/graphics/Paint;-><init>()V

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->M:Landroid/graphics/Paint;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->M:Landroid/graphics/Paint;

    const-string/jumbo v2, "#57AFED"

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setColor(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->M:Landroid/graphics/Paint;

    const/high16 v2, 0x40000000    # 2.0f

    invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->M:Landroid/graphics/Paint;

    sget-object v2, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    const v1, 0x7f0c05b7

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/view/ImagePreview;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/ImagePreview;->setTitlevisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v1, v9}, Lcom/waiqin365/lightapp/view/ImagePreview;->setType(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v1, v7}, Lcom/waiqin365/lightapp/view/ImagePreview;->setBottomLineStatus(Z)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    const v2, 0x7f0803e8

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/ImagePreview;->setPhotoType(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    iget v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->s:I

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/ImagePreview;->setMax(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    const/16 v2, 0x1e0

    invoke-static {v2}, Lcom/fiberhome/gaea/client/d/k;->c(I)I

    move-result v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/ImagePreview;->setPicWidth(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v1, v8}, Lcom/waiqin365/lightapp/view/ImagePreview;->setAllowSelect(Z)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    sget-object v2, Lcom/waiqin365/lightapp/view/fg;->b:Lcom/waiqin365/lightapp/view/fg;

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/ImagePreview;->setWaterMarkModeByMenu(Lcom/waiqin365/lightapp/view/fg;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v1, p0}, Lcom/waiqin365/lightapp/view/ImagePreview;->setImagePreviewImageDataChangeListener(Lcom/waiqin365/lightapp/view/fd;)V

    const v1, 0x7f0c05ba

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->l:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->l:Landroid/widget/TextView;

    sget v2, Lcom/fiberhome/gaea/client/c/b;->g:I

    const/16 v3, 0x5a

    invoke-static {v3}, Lcom/fiberhome/gaea/client/d/k;->c(I)I

    move-result v3

    sub-int/2addr v2, v3

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setMaxWidth(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->l:Landroid/widget/TextView;

    invoke-virtual {v1, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v1, 0x7f0c05a8

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->m:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->m:Landroid/widget/ImageView;

    invoke-virtual {v1, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v1, 0x7f0c05a9

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->n:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->n:Landroid/widget/ImageView;

    invoke-virtual {v1, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v1, 0x7f0c05b3

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/support/v4/view/ViewPager;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->B:Landroid/support/v4/view/ViewPager;

    const/16 v1, 0x5a

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/util/DailySmileUtils;->getExpressionRes(I)Ljava/util/List;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->E:Ljava/util/List;

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->D:Ljava/util/List;

    invoke-direct {p0, v8}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->c(I)Landroid/view/View;

    move-result-object v1

    invoke-direct {p0, v9}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->c(I)Landroid/view/View;

    move-result-object v2

    const/4 v3, 0x3

    invoke-direct {p0, v3}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->c(I)Landroid/view/View;

    move-result-object v3

    invoke-direct {p0, v10}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->c(I)Landroid/view/View;

    move-result-object v4

    const/4 v5, 0x5

    invoke-direct {p0, v5}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->c(I)Landroid/view/View;

    move-result-object v5

    iget-object v6, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->D:Ljava/util/List;

    invoke-interface {v6, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->D:Ljava/util/List;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->D:Ljava/util/List;

    invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->D:Ljava/util/List;

    invoke-interface {v1, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->D:Ljava/util/List;

    invoke-interface {v1, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->B:Landroid/support/v4/view/ViewPager;

    new-instance v2, Lcom/waiqin365/lightapp/im/adapter/ar;

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->D:Ljava/util/List;

    invoke-direct {v2, v3}, Lcom/waiqin365/lightapp/im/adapter/ar;-><init>(Ljava/util/List;)V

    invoke-virtual {v1, v2}, Landroid/support/v4/view/ViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->B:Landroid/support/v4/view/ViewPager;

    invoke-virtual {v1, p0}, Landroid/support/v4/view/ViewPager;->setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V

    const v1, 0x7f0c05b2

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->C:Landroid/widget/LinearLayout;

    const v1, 0x7f0c05ab

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->o:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v1, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v1, 0x7f0c05bb

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->p:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->p:Landroid/widget/ImageView;

    invoke-virtual {v1, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v1, 0x7f0c05b9

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->k:Landroid/widget/ImageView;

    const v1, 0x7f0c05aa

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->q:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->q:Landroid/widget/ImageView;

    invoke-virtual {v1, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const-string/jumbo v1, "1"

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v2, v2, Lcom/waiqin365/lightapp/dailyreport/c/j;->c:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    const v1, 0x7f0803ea

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f080219

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->R:Ljava/lang/String;

    :cond_0
    :goto_0
    const-string/jumbo v0, "3"

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/j;->f:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iput v9, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->x:I

    :goto_1
    iget v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->x:I

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->b(I)V

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/j;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/a/b;->e(Ljava/lang/String;)Lcom/waiqin365/lightapp/dailyreport/c/h;

    move-result-object v2

    iget-object v0, v2, Lcom/waiqin365/lightapp/dailyreport/c/h;->c:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1, v9}, Ljava/util/ArrayList;-><init>(I)V

    iget-object v0, v2, Lcom/waiqin365/lightapp/dailyreport/c/h;->c:Ljava/lang/String;

    const/16 v3, 0x5f

    invoke-static {v0, v3, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ne v0, v9, :cond_1

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v1, v7}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v3, v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview;->setCusFormPhoto(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    iget-object v1, v2, Lcom/waiqin365/lightapp/dailyreport/c/h;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview;->setSelectAlbumItemStr(Ljava/lang/String;)V

    :cond_1
    iget-object v0, v2, Lcom/waiqin365/lightapp/dailyreport/c/h;->b:Ljava/lang/String;

    const-wide/16 v2, 0x0

    invoke-static {v0, v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;J)J

    move-result-wide v0

    const-wide/16 v2, 0x0

    cmp-long v2, v0, v2

    if-nez v2, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v10}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j()V

    return-void

    :cond_2
    const-string/jumbo v1, "5"

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v2, v2, Lcom/waiqin365/lightapp/dailyreport/c/j;->c:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    const v1, 0x7f0803ec

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f080875

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->R:Ljava/lang/String;

    goto/16 :goto_0

    :cond_3
    const-string/jumbo v1, "6"

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v2, v2, Lcom/waiqin365/lightapp/dailyreport/c/j;->c:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    const v1, 0x7f0803ee

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f08055e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->R:Ljava/lang/String;

    goto/16 :goto_0

    :cond_4
    const-string/jumbo v0, "2"

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/j;->f:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    iput v8, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->x:I

    goto/16 :goto_1

    :cond_5
    iput v7, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->x:I

    goto/16 :goto_1

    :cond_6
    new-instance v2, Ljava/text/SimpleDateFormat;

    const-string/jumbo v3, "yyyy/MM/dd HH:mm"

    invoke-direct {v2, v3}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    new-instance v3, Ljava/util/Date;

    invoke-direct {v3, v0, v1}, Ljava/util/Date;-><init>(J)V

    invoke-virtual {v2, v3}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/util/Date;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    invoke-direct {v1, v4, v5}, Ljava/util/Date;-><init>(J)V

    invoke-virtual {v2, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v1

    const/16 v2, 0xa

    invoke-virtual {v0, v7, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    const/16 v3, 0xa

    invoke-virtual {v1, v7, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_7

    new-instance v1, Ljava/lang/StringBuilder;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const v3, 0x7f0803f2

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ":%s"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->g:Landroid/widget/TextView;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    new-array v3, v8, [Ljava/lang/Object;

    const/16 v4, 0xb

    invoke-virtual {v0, v4}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    aput-object v0, v3, v7

    invoke-static {v1, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_2

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v10}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_2
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;Lcom/waiqin365/lightapp/dailyreport/c/n;Ljava/util/ArrayList;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->a(Lcom/waiqin365/lightapp/dailyreport/c/n;Ljava/util/ArrayList;)V

    return-void
.end method

.method private a(Lcom/waiqin365/lightapp/dailyreport/c/n;Ljava/util/ArrayList;)V
    .locals 3

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/o;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->O:Ljava/lang/String;

    invoke-direct {v0, p1, p2, v1}, Lcom/waiqin365/lightapp/dailyreport/b/a/o;-><init>(Lcom/waiqin365/lightapp/dailyreport/c/n;Ljava/util/ArrayList;Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->i:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/dailyreport/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/dailyreport/b/a/a;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/b/b;->start()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->Q:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Landroid/view/SurfaceView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->I:Landroid/view/SurfaceView;

    return-object v0
.end method

.method private b()V
    .locals 11

    const/4 v1, 0x0

    :try_start_0
    new-instance v3, Lorg/json/JSONArray;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/j;->d:Ljava/lang/String;

    invoke-direct {v3, v0}, Lorg/json/JSONArray;-><init>(Ljava/lang/String;)V

    move v2, v1

    :goto_0
    invoke-virtual {v3}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-ge v2, v0, :cond_6

    invoke-virtual {v3, v2}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v4

    const-string/jumbo v0, "1"

    const-string/jumbo v5, "input"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    const/4 v5, 0x0

    invoke-direct {v0, p0, v5}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const v5, 0x7f0803f9

    invoke-virtual {p0, v5}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->setHint(Ljava/lang/String;)V

    const-string/jumbo v5, "label"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->setLabel(Ljava/lang/CharSequence;)V

    const-string/jumbo v5, "required"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->setMustinput(Ljava/lang/String;)V

    const-string/jumbo v5, "id"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->setCode(Ljava/lang/String;)V

    iget-object v5, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v5, v5, Lcom/waiqin365/lightapp/dailyreport/c/j;->a:Ljava/lang/String;

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->setModel_id(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v5

    iget-object v6, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v6, v6, Lcom/waiqin365/lightapp/dailyreport/c/j;->a:Ljava/lang/String;

    const-string/jumbo v7, "id"

    invoke-virtual {v4, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v5, v6, v7}, Lcom/waiqin365/lightapp/dailyreport/a/b;->e(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v6

    if-nez v6, :cond_0

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->setValue(Ljava/lang/String;)V

    invoke-virtual {v5}, Ljava/lang/String;->length()I

    move-result v5

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->setSelection(I)V

    :cond_0
    const-string/jumbo v5, "2"

    const-string/jumbo v6, "input_type"

    invoke-virtual {v4, v6}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v5, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->setNumberType()V

    :cond_1
    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->setOnTextChangedListener(Lcom/waiqin365/lightapp/dailyreport/view/ah;)V

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->setOnTextTouchListener(Lcom/waiqin365/lightapp/dailyreport/view/aj;)V

    iget-object v4, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_2
    :goto_1
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto/16 :goto_0

    :cond_3
    const-string/jumbo v0, "3"

    const-string/jumbo v5, "input"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    new-instance v5, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;

    const/4 v0, 0x0

    invoke-direct {v5, p0, v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const-string/jumbo v0, "label"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;->setLabel(Ljava/lang/String;)V

    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    const-string/jumbo v0, "option"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v7

    move v0, v1

    :goto_2
    invoke-virtual {v7}, Lorg/json/JSONArray;->length()I

    move-result v8

    if-ge v0, v8, :cond_4

    invoke-virtual {v7, v0}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v8

    new-instance v9, Lcom/waiqin365/lightapp/dailyreport/c/e;

    invoke-direct {v9}, Lcom/waiqin365/lightapp/dailyreport/c/e;-><init>()V

    const-string/jumbo v10, "v"

    invoke-virtual {v8, v10}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v9, Lcom/waiqin365/lightapp/dailyreport/c/e;->b:Ljava/lang/String;

    new-instance v8, Ljava/lang/StringBuilder;

    invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v8, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v8

    const-string/jumbo v10, ""

    invoke-virtual {v8, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    iput-object v8, v9, Lcom/waiqin365/lightapp/dailyreport/c/e;->a:Ljava/lang/String;

    invoke-interface {v6, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v0, 0x1

    goto :goto_2

    :cond_4
    invoke-virtual {v5, v6}, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;->setSelectContentList(Ljava/util/List;)V

    const-string/jumbo v0, "required"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;->setMustinput(Ljava/lang/String;)V

    const-string/jumbo v0, "id"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;->setCode(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/j;->a:Ljava/lang/String;

    invoke-virtual {v5, v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;->setModel_id(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v0

    iget-object v6, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v6, v6, Lcom/waiqin365/lightapp/dailyreport/c/j;->a:Ljava/lang/String;

    const-string/jumbo v7, "id"

    invoke-virtual {v4, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v6, v4}, Lcom/waiqin365/lightapp/dailyreport/a/b;->e(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_5

    invoke-virtual {v5, v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;->setValue(Ljava/lang/String;)V

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto/16 :goto_1

    :catch_0
    move-exception v0

    :cond_6
    return-void

    :cond_7
    const-string/jumbo v0, "4"

    const-string/jumbo v5, "input"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    new-instance v5, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;

    const/4 v0, 0x0

    invoke-direct {v5, p0, v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const-string/jumbo v0, "label"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;->setLabel(Ljava/lang/String;)V

    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    const-string/jumbo v0, "option"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v7

    move v0, v1

    :goto_3
    invoke-virtual {v7}, Lorg/json/JSONArray;->length()I

    move-result v8

    if-ge v0, v8, :cond_8

    invoke-virtual {v7, v0}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v8

    new-instance v9, Lcom/waiqin365/lightapp/dailyreport/c/e;

    invoke-direct {v9}, Lcom/waiqin365/lightapp/dailyreport/c/e;-><init>()V

    const-string/jumbo v10, "v"

    invoke-virtual {v8, v10}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v9, Lcom/waiqin365/lightapp/dailyreport/c/e;->b:Ljava/lang/String;

    new-instance v8, Ljava/lang/StringBuilder;

    invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v8, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v8

    const-string/jumbo v10, ""

    invoke-virtual {v8, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    iput-object v8, v9, Lcom/waiqin365/lightapp/dailyreport/c/e;->a:Ljava/lang/String;

    invoke-interface {v6, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v0, 0x1

    goto :goto_3

    :cond_8
    invoke-virtual {v5, v6}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;->setSelectContentList(Ljava/util/List;)V

    const-string/jumbo v0, "required"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;->setMustinput(Ljava/lang/String;)V

    const-string/jumbo v0, "id"

    invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;->setCode(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/j;->a:Ljava/lang/String;

    invoke-virtual {v5, v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;->setModel_id(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v0

    iget-object v6, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v6, v6, Lcom/waiqin365/lightapp/dailyreport/c/j;->a:Ljava/lang/String;

    const-string/jumbo v7, "id"

    invoke-virtual {v4, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v6, v4}, Lcom/waiqin365/lightapp/dailyreport/a/b;->e(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_9

    invoke-virtual {v5, v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;->setValue(Ljava/lang/String;)V

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_1
.end method

.method private b(I)V
    .locals 4

    const/16 v2, 0x1a

    const/4 v0, 0x2

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->y:Landroid/widget/TextView;

    const v1, 0x7f0803e9

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->y:Landroid/widget/TextView;

    const/16 v1, 0xed

    const/16 v2, 0x6c

    const/16 v3, 0x4d

    invoke-static {v1, v2, v3}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x1

    if-ne p1, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->y:Landroid/widget/TextView;

    const v1, 0x7f0803e1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->y:Landroid/widget/TextView;

    const/16 v1, 0xff

    const/16 v2, 0x79

    const/16 v3, 0xa

    invoke-static {v1, v2, v3}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->y:Landroid/widget/TextView;

    const v1, 0x7f0803d9

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->y:Landroid/widget/TextView;

    invoke-static {v2, v2, v2}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_0
.end method

.method private b(Ljava/util/List;)V
    .locals 11

    const/high16 v10, -0x3ee00000    # -10.0f

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->I:Landroid/view/SurfaceView;

    invoke-virtual {v1}, Landroid/view/SurfaceView;->getWidth()I

    move-result v4

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->I:Landroid/view/SurfaceView;

    invoke-virtual {v1}, Landroid/view/SurfaceView;->getHeight()I

    move-result v5

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->d:Landroid/graphics/Path;

    invoke-virtual {v1}, Landroid/graphics/Path;->reset()V

    move v3, v0

    move v2, v0

    :goto_0
    if-ge v3, v4, :cond_0

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    add-int/lit8 v0, v0, 0x14

    int-to-double v0, v0

    int-to-double v6, v3

    const-wide/high16 v8, 0x3fe0000000000000L    # 0.5

    mul-double/2addr v6, v8

    iget v8, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->e:I

    int-to-double v8, v8

    add-double/2addr v6, v8

    const-wide v8, 0x400921fb54442d18L    # Math.PI

    mul-double/2addr v6, v8

    const-wide/high16 v8, 0x405e000000000000L    # 120.0

    div-double/2addr v6, v8

    invoke-static {v6, v7}, Ljava/lang/Math;->sin(D)D

    move-result-wide v6

    mul-double/2addr v0, v6

    div-int/lit8 v6, v5, 0x2

    int-to-double v6, v6

    add-double/2addr v0, v6

    double-to-int v1, v0

    if-nez v3, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->d:Landroid/graphics/Path;

    int-to-float v2, v3

    int-to-float v6, v1

    invoke-virtual {v0, v2, v6}, Landroid/graphics/Path;->moveTo(FF)V

    move v0, v1

    :goto_1
    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->d:Landroid/graphics/Path;

    int-to-float v6, v3

    int-to-float v7, v1

    add-int/lit8 v8, v3, 0x1

    int-to-float v8, v8

    int-to-float v9, v1

    invoke-virtual {v2, v6, v7, v8, v9}, Landroid/graphics/Path;->quadTo(FFFF)V

    add-int/lit8 v2, v3, 0x1

    move v3, v2

    move v2, v0

    move v0, v1

    goto :goto_0

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->d:Landroid/graphics/Path;

    add-int/lit8 v3, v4, 0xa

    int-to-float v3, v3

    int-to-float v0, v0

    invoke-virtual {v1, v3, v0}, Landroid/graphics/Path;->lineTo(FF)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->d:Landroid/graphics/Path;

    add-int/lit8 v1, v4, 0xa

    int-to-float v1, v1

    add-int/lit8 v3, v5, 0xa

    int-to-float v3, v3

    invoke-virtual {v0, v1, v3}, Landroid/graphics/Path;->lineTo(FF)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->d:Landroid/graphics/Path;

    add-int/lit8 v1, v5, 0xa

    int-to-float v1, v1

    invoke-virtual {v0, v10, v1}, Landroid/graphics/Path;->lineTo(FF)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->d:Landroid/graphics/Path;

    int-to-float v1, v2

    invoke-virtual {v0, v10, v1}, Landroid/graphics/Path;->lineTo(FF)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->d:Landroid/graphics/Path;

    invoke-virtual {v0}, Landroid/graphics/Path;->close()V

    return-void

    :cond_1
    move v0, v2

    goto :goto_1
.end method

.method private c(I)Landroid/view/View;
    .locals 9

    const/16 v8, 0x50

    const/16 v7, 0x3c

    const/16 v4, 0x28

    const/16 v6, 0x14

    const/4 v5, 0x1

    const v0, 0x7f03015d

    const/4 v1, 0x0

    invoke-static {p0, v0, v1}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    const v0, 0x7f0c0779

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/widget/ExpandGridView;

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    if-ne p1, v5, :cond_1

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->E:Ljava/util/List;

    const/4 v4, 0x0

    invoke-interface {v3, v4, v6}, Ljava/util/List;->subList(II)Ljava/util/List;

    move-result-object v3

    invoke-interface {v2, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_0
    :goto_0
    const-string/jumbo v3, "im_delete_expression"

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v3, Lcom/waiqin365/lightapp/im/adapter/aq;

    invoke-direct {v3, p0, v5, v2}, Lcom/waiqin365/lightapp/im/adapter/aq;-><init>(Landroid/content/Context;ILjava/util/List;)V

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/im/widget/ExpandGridView;->setAdapter(Landroid/widget/ListAdapter;)V

    new-instance v2, Lcom/waiqin365/lightapp/dailyreport/af;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/dailyreport/af;-><init>(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;Lcom/waiqin365/lightapp/im/adapter/aq;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/im/widget/ExpandGridView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    return-object v1

    :cond_1
    const/4 v3, 0x2

    if-ne p1, v3, :cond_2

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->E:Ljava/util/List;

    invoke-interface {v3, v6, v4}, Ljava/util/List;->subList(II)Ljava/util/List;

    move-result-object v3

    invoke-interface {v2, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    goto :goto_0

    :cond_2
    const/4 v3, 0x3

    if-ne p1, v3, :cond_3

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->E:Ljava/util/List;

    invoke-interface {v3, v4, v7}, Ljava/util/List;->subList(II)Ljava/util/List;

    move-result-object v3

    invoke-interface {v2, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    goto :goto_0

    :cond_3
    const/4 v3, 0x4

    if-ne p1, v3, :cond_4

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->E:Ljava/util/List;

    invoke-interface {v3, v7, v8}, Ljava/util/List;->subList(II)Ljava/util/List;

    move-result-object v3

    invoke-interface {v2, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    goto :goto_0

    :cond_4
    const/4 v3, 0x5

    if-ne p1, v3, :cond_0

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->E:Ljava/util/List;

    iget-object v4, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->E:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    invoke-interface {v3, v8, v4}, Ljava/util/List;->subList(II)Ljava/util/List;

    move-result-object v3

    invoke-interface {v2, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    goto :goto_0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Landroid/widget/RelativeLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->K:Landroid/widget/RelativeLayout;

    return-object v0
.end method

.method private c()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/ad;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/dailyreport/ad;-><init>(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->i:Landroid/os/Handler;

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->J:Landroid/widget/ImageView;

    return-object v0
.end method

.method private d()V
    .locals 3

    const/16 v2, 0x80

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->l:Landroid/widget/TextView;

    const v1, 0x7f080517

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->p:Landroid/widget/ImageView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->l:Landroid/widget/TextView;

    invoke-static {v2, v2, v2}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->k:Landroid/widget/ImageView;

    const v1, 0x7f020140

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->l:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setEnabled(Z)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->g()V

    return-void
.end method

.method private d(I)V
    .locals 2

    if-ltz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->D:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-gt p1, v0, :cond_0

    iget v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->G:I

    if-ne v0, p1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->F:[Landroid/widget/ImageView;

    aget-object v0, v0, p1

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->F:[Landroid/widget/ImageView;

    iget v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->G:I

    aget-object v0, v0, v1

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setEnabled(Z)V

    iput p1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->G:I

    goto :goto_0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->k()Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    move-result-object v0

    return-object v0
.end method

.method private e()V
    .locals 16

    const/4 v15, 0x2

    const/4 v6, 0x1

    const/4 v5, 0x0

    new-instance v9, Lcom/waiqin365/lightapp/dailyreport/c/n;

    invoke-direct {v9}, Lcom/waiqin365/lightapp/dailyreport/c/n;-><init>()V

    new-instance v10, Lorg/json/JSONArray;

    invoke-direct {v10}, Lorg/json/JSONArray;-><init>()V

    new-instance v2, Lcom/waiqin365/lightapp/kehu/share/a/a;

    invoke-direct {v2}, Lcom/waiqin365/lightapp/kehu/share/a/a;-><init>()V

    const-string/jumbo v3, "-1"

    iput-object v3, v2, Lcom/waiqin365/lightapp/kehu/share/a/a;->f:Ljava/lang/String;

    invoke-static/range {p0 .. p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v3

    sget-object v4, Lcom/waiqin365/base/db/offlinedata/q;->b:Lcom/waiqin365/base/db/offlinedata/q;

    invoke-virtual {v3, v2, v4}, Lcom/waiqin365/base/db/offlinedata/m;->a(Lcom/waiqin365/lightapp/kehu/share/a/a;Lcom/waiqin365/base/db/offlinedata/q;)Ljava/util/ArrayList;

    move-result-object v11

    move v8, v5

    move v4, v5

    :goto_0
    :try_start_0
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v2

    if-ge v8, v2, :cond_4

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v8}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v3

    new-instance v12, Lorg/json/JSONObject;

    invoke-direct {v12}, Lorg/json/JSONObject;-><init>()V

    instance-of v2, v3, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    if-eqz v2, :cond_3

    move-object v0, v3

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->d()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_0

    move-object v0, v3

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->k()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->dismissProgressDialog()V

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const v7, 0x7f080320

    move-object/from16 v0, p0

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v2, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    check-cast v3, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->c()Ljava/lang/CharSequence;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "!"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    move-object/from16 v0, p0

    invoke-static {v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    :goto_1
    return-void

    :cond_0
    if-nez v4, :cond_1

    if-eqz v11, :cond_1

    invoke-virtual {v11}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lez v2, :cond_1

    move v7, v5

    :goto_2
    invoke-virtual {v11}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-ge v7, v2, :cond_1

    move-object v0, v3

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->d()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-interface {v2}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v13

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v14, "@"

    invoke-virtual {v2, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v14

    invoke-virtual {v11, v7}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/kehu/share/a/a;

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/share/a/a;->g:Ljava/lang/String;

    invoke-virtual {v14, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v13, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_2

    move v4, v6

    :cond_1
    const-string/jumbo v7, "label"

    move-object v0, v3

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->c()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-virtual {v12, v7, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v2, "value"

    check-cast v3, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->d()Ljava/lang/CharSequence;

    move-result-object v3

    invoke-virtual {v12, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    invoke-virtual {v10, v12}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;

    move v2, v4

    :goto_3
    add-int/lit8 v3, v8, 0x1

    move v8, v3

    move v4, v2

    goto/16 :goto_0

    :cond_2
    add-int/lit8 v2, v7, 0x1

    move v7, v2

    goto :goto_2

    :cond_3
    instance-of v2, v3, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;

    if-eqz v2, :cond_7

    move-object v0, v3

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;->f_()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_6

    move-object v0, v3

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;->k()Z

    move-result v2

    if-eqz v2, :cond_6

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->dismissProgressDialog()V

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const v7, 0x7f08065d

    move-object/from16 v0, p0

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v2, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    check-cast v3, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;->e()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "!"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    move-object/from16 v0, p0

    invoke-static {v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_1

    :catch_0
    move-exception v2

    :cond_4
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v2, v2, Lcom/waiqin365/lightapp/dailyreport/c/j;->a:Ljava/lang/String;

    iput-object v2, v9, Lcom/waiqin365/lightapp/dailyreport/c/n;->i:Ljava/lang/String;

    invoke-virtual {v10}, Lorg/json/JSONArray;->toString()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v9, Lcom/waiqin365/lightapp/dailyreport/c/n;->j:Ljava/lang/String;

    const-string/jumbo v2, ""

    iput-object v2, v9, Lcom/waiqin365/lightapp/dailyreport/c/n;->a:Ljava/lang/String;

    move-object/from16 v0, p0

    iget v2, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->x:I

    if-ne v2, v15, :cond_a

    const-string/jumbo v2, "0"

    iput-object v2, v9, Lcom/waiqin365/lightapp/dailyreport/c/n;->h:Ljava/lang/String;

    :goto_4
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v2, v2, Lcom/waiqin365/lightapp/dailyreport/c/j;->c:Ljava/lang/String;

    iput-object v2, v9, Lcom/waiqin365/lightapp/dailyreport/c/n;->f:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->R:Ljava/lang/String;

    iput-object v2, v9, Lcom/waiqin365/lightapp/dailyreport/c/n;->g:Ljava/lang/String;

    const-string/jumbo v2, "2"

    iput-object v2, v9, Lcom/waiqin365/lightapp/dailyreport/c/n;->b:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->v:Lcom/waiqin365/compons/c/f;

    if-eqz v2, :cond_5

    const-string/jumbo v2, "%s,%s"

    new-array v3, v15, [Ljava/lang/Object;

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->v:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v7}, Lcom/waiqin365/compons/c/f;->b()D

    move-result-wide v10

    invoke-static {v10, v11}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v7

    aput-object v7, v3, v5

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->v:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v7}, Lcom/waiqin365/compons/c/f;->c()D

    move-result-wide v10

    invoke-static {v10, v11}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v7

    aput-object v7, v3, v6

    invoke-static {v2, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v9, Lcom/waiqin365/lightapp/dailyreport/c/n;->c:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->v:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->e()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v9, Lcom/waiqin365/lightapp/dailyreport/c/n;->d:Ljava/lang/String;

    const-string/jumbo v2, "1"

    iput-object v2, v9, Lcom/waiqin365/lightapp/dailyreport/c/n;->e:Ljava/lang/String;

    :cond_5
    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/ImagePreview;->f()Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_d

    new-instance v2, Ljava/io/File;

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v6}, Lcom/waiqin365/lightapp/view/ImagePreview;->f()Ljava/lang/String;

    move-result-object v6

    invoke-direct {v2, v6}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/io/File;->listFiles()[Ljava/io/File;

    move-result-object v6

    move v2, v5

    :goto_5
    if-eqz v6, :cond_d

    array-length v5, v6

    if-ge v2, v5, :cond_d

    aget-object v5, v6, v2

    invoke-virtual {v5}, Ljava/io/File;->isDirectory()Z

    move-result v5

    if-eqz v5, :cond_c

    :goto_6
    add-int/lit8 v2, v2, 0x1

    goto :goto_5

    :cond_6
    :try_start_1
    const-string/jumbo v7, "label"

    move-object v0, v3

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;->e()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v12, v7, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v2, "value"

    check-cast v3, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;->f_()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v12, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    invoke-virtual {v10, v12}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;

    move v2, v4

    goto/16 :goto_3

    :cond_7
    instance-of v2, v3, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;

    if-eqz v2, :cond_9

    move-object v0, v3

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;->a()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_8

    move-object v0, v3

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;->k()Z

    move-result v2

    if-eqz v2, :cond_8

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->dismissProgressDialog()V

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const v7, 0x7f08065d

    move-object/from16 v0, p0

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v2, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    check-cast v3, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;->d_()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "!"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    move-object/from16 v0, p0

    invoke-static {v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :cond_8
    const-string/jumbo v7, "label"

    move-object v0, v3

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;->d_()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v12, v7, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v2, "value"

    check-cast v3, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMulSelectLabelView;->a()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v12, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    invoke-virtual {v10, v12}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    :cond_9
    move v2, v4

    goto/16 :goto_3

    :cond_a
    move-object/from16 v0, p0

    iget v2, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->x:I

    if-ne v2, v6, :cond_b

    const-string/jumbo v2, "1"

    iput-object v2, v9, Lcom/waiqin365/lightapp/dailyreport/c/n;->h:Ljava/lang/String;

    goto/16 :goto_4

    :cond_b
    const-string/jumbo v2, ""

    iput-object v2, v9, Lcom/waiqin365/lightapp/dailyreport/c/n;->h:Ljava/lang/String;

    goto/16 :goto_4

    :cond_c
    new-instance v5, Lcom/waiqin365/lightapp/dailyreport/c/l;

    invoke-direct {v5}, Lcom/waiqin365/lightapp/dailyreport/c/l;-><init>()V

    aget-object v7, v6, v2

    invoke-virtual {v7}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v7

    iput-object v7, v5, Lcom/waiqin365/lightapp/dailyreport/c/l;->a:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->a:Ljava/text/SimpleDateFormat;

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->b:Ljava/util/Calendar;

    invoke-virtual {v8}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v8

    invoke-virtual {v7, v8}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v7

    iput-object v7, v5, Lcom/waiqin365/lightapp/dailyreport/c/l;->b:Ljava/lang/String;

    invoke-virtual {v3, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_6

    :cond_d
    if-nez v4, :cond_e

    move-object/from16 v0, p0

    iget v2, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->x:I

    if-ne v2, v15, :cond_f

    :cond_e
    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->dismissProgressDialog()V

    new-instance v2, Lcom/waiqin365/compons/view/c;

    const-string/jumbo v4, ""

    const v5, 0x7f0803f5

    move-object/from16 v0, p0

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v5

    sget v6, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v7, Lcom/waiqin365/lightapp/dailyreport/ae;

    move-object/from16 v0, p0

    invoke-direct {v7, v0, v9, v3}, Lcom/waiqin365/lightapp/dailyreport/ae;-><init>(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;Lcom/waiqin365/lightapp/dailyreport/c/n;Ljava/util/ArrayList;)V

    move-object/from16 v3, p0

    invoke-direct/range {v2 .. v7}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    move-object/from16 v0, p0

    iput-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->S:Lcom/waiqin365/compons/view/c;

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->S:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v2}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_1

    :cond_f
    move-object/from16 v0, p0

    invoke-direct {v0, v9, v3}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->a(Lcom/waiqin365/lightapp/dailyreport/c/n;Ljava/util/ArrayList;)V

    goto/16 :goto_1
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->N:Ljava/util/List;

    return-object v0
.end method

.method private f()V
    .locals 7

    const/4 v3, 0x1

    const/4 v2, 0x0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->Q:Z

    if-eqz v0, :cond_0

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/j;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/a/b;->c(Ljava/lang/String;)Z

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/j;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/a/b;->d(Ljava/lang/String;)Z

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview;->t()I

    move-result v0

    if-lez v0, :cond_1

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/j;->a:Ljava/lang/String;

    const-string/jumbo v4, "%s_%s"

    const/4 v5, 0x2

    new-array v5, v5, [Ljava/lang/Object;

    iget-object v6, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    iget v6, v6, Lcom/waiqin365/lightapp/view/ImagePreview;->F:I

    invoke-static {v6}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v6

    aput-object v6, v5, v2

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/ImagePreview;->f()Ljava/lang/String;

    move-result-object v2

    aput-object v2, v5, v3

    invoke-static {v4, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/view/ImagePreview;->u()Ljava/lang/String;

    move-result-object v3

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    invoke-static {v4, v5}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v1, v2, v3, v4}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z

    goto :goto_0

    :cond_1
    move v1, v2

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v0

    if-ge v1, v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    instance-of v4, v0, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    if-eqz v4, :cond_3

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->d()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4

    move v2, v3

    :cond_2
    :goto_2
    if-eqz v2, :cond_5

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/j;->a:Ljava/lang/String;

    const-string/jumbo v2, ""

    const-string/jumbo v3, ""

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    invoke-static {v4, v5}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v1, v2, v3, v4}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z

    goto :goto_0

    :cond_3
    instance-of v4, v0, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;

    if-eqz v4, :cond_4

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailySelectLabelView;->f_()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4

    move v2, v3

    goto :goto_2

    :cond_4
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_5
    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/j;->a:Ljava/lang/String;

    const-string/jumbo v2, ""

    const-string/jumbo v3, ""

    const-string/jumbo v4, ""

    invoke-virtual {v0, v1, v2, v3, v4}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z

    goto/16 :goto_0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private g()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->t:Lcom/waiqin365/lightapp/dailyreport/ah;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/ah;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/dailyreport/ah;-><init>(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->t:Lcom/waiqin365/lightapp/dailyreport/ah;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->u:Lcom/waiqin365/compons/c/g;

    if-nez v0, :cond_1

    new-instance v0, Lcom/waiqin365/compons/c/g;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->t:Lcom/waiqin365/lightapp/dailyreport/ah;

    invoke-direct {v0, v1}, Lcom/waiqin365/compons/c/g;-><init>(Lcom/waiqin365/compons/c/l;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->u:Lcom/waiqin365/compons/c/g;

    :cond_1
    iget v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->w:I

    rem-int/lit8 v0, v0, 0x2

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->u:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->c()V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->u:Lcom/waiqin365/compons/c/g;

    const/16 v1, 0x2710

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/c/g;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->u:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0, p0}, Lcom/waiqin365/compons/c/g;->a(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->u:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->e()V

    iget v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->w:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->w:I

    return-void

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->u:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->a()V

    goto :goto_0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Lcom/waiqin365/lightapp/view/ImagePreview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    return-object v0
.end method

.method private h()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->u:Lcom/waiqin365/compons/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->u:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->f()V

    :cond_0
    return-void
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Lcom/waiqin365/lightapp/dailyreport/c/j;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    return-object v0
.end method

.method private i()V
    .locals 5

    const/4 v4, 0x0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->A:J

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "HH:mm"

    invoke-direct {v0, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    new-instance v1, Ljava/util/Date;

    iget-wide v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->A:J

    invoke-direct {v1, v2, v3}, Ljava/util/Date;-><init>(J)V

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const v3, 0x7f0803f2

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ":%s"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->g:Landroid/widget/TextView;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v3, 0x1

    new-array v3, v3, [Ljava/lang/Object;

    aput-object v0, v3, v4

    invoke-static {v1, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

    return-void
.end method

.method private j()V
    .locals 5

    const/4 v3, 0x0

    const v0, 0x7f0c05b4

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->D:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    new-array v1, v1, [Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->F:[Landroid/widget/ImageView;

    move v2, v3

    :goto_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->D:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v2, v1, :cond_0

    iget-object v4, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->F:[Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    aput-object v1, v4, v2

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->F:[Landroid/widget/ImageView;

    aget-object v1, v1, v2

    const/4 v4, 0x1

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setEnabled(Z)V

    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_0

    :cond_0
    iput v3, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->G:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->F:[Landroid/widget/ImageView;

    iget v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->G:I

    aget-object v0, v0, v1

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setEnabled(Z)V

    return-void
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->f()V

    return-void
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private k()Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;
    .locals 2

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v0

    if-ge v1, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->e_()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    :goto_1
    return-object v0

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    goto :goto_1
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->r:Landroid/widget/TextView;

    return-object v0
.end method

.method private l()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->c:Landroid/content/IntentFilter;

    const-string/jumbo v1, "com.example.wqvoiceplugin.begin_of_speech"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->c:Landroid/content/IntentFilter;

    const-string/jumbo v1, "com.example.wqvoiceplugin.end_of_speech"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->c:Landroid/content/IntentFilter;

    const-string/jumbo v1, "com.example.wqvoiceplugin.error"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->c:Landroid/content/IntentFilter;

    const-string/jumbo v1, "com.example.wqvoiceplugin.parser_result"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->c:Landroid/content/IntentFilter;

    const-string/jumbo v1, "com.example.wqvoiceplugin.volume"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->f:Landroid/content/BroadcastReceiver;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->c:Landroid/content/IntentFilter;

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    return-void
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->S:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method private m()Z
    .locals 6

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/e;->a(Landroid/app/Activity;)Z

    move-result v0

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const-string/jumbo v2, ""

    const v1, 0x7f0803e2

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->b:I

    new-instance v5, Lcom/waiqin365/lightapp/dailyreport/ag;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/dailyreport/ag;-><init>(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->S:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->S:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f080700

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    const v2, 0x7f0c0067

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->S:Lcom/waiqin365/compons/view/c;

    const/16 v1, 0x11

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->b(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->S:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->h()V

    return-void
.end method

.method static synthetic o(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->l:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic p(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->p:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic q(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->k:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic r(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)Lcom/waiqin365/compons/c/f;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->v:Lcom/waiqin365/compons/c/f;

    return-object v0
.end method


# virtual methods
.method public a(I)V
    .locals 2

    if-lez p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview;->setVisibility(I)V

    goto :goto_0
.end method

.method public a(Landroid/text/Editable;)V
    .locals 4

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-wide v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->A:J

    sub-long/2addr v0, v2

    const-wide/16 v2, 0x1388

    cmp-long v0, v0, v2

    if-lez v0, :cond_0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->i()V

    :cond_0
    return-void
.end method

.method public a(Landroid/view/View;Landroid/view/MotionEvent;)V
    .locals 2

    const/16 v1, 0x8

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->C:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->H:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->o:Landroid/widget/ImageView;

    const v1, 0x7f020136

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->n:Landroid/widget/ImageView;

    const v1, 0x7f020158

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    :cond_0
    return-void
.end method

.method public declared-synchronized a(Ljava/util/List;)V
    .locals 6

    monitor-enter p0

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->I:Landroid/view/SurfaceView;

    invoke-virtual {v0}, Landroid/view/SurfaceView;->getHolder()Landroid/view/SurfaceHolder;

    move-result-object v0

    new-instance v1, Landroid/graphics/Rect;

    const/4 v2, 0x0

    const/4 v3, 0x0

    iget-object v4, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->I:Landroid/view/SurfaceView;

    invoke-virtual {v4}, Landroid/view/SurfaceView;->getWidth()I

    move-result v4

    iget-object v5, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->I:Landroid/view/SurfaceView;

    invoke-virtual {v5}, Landroid/view/SurfaceView;->getHeight()I

    move-result v5

    invoke-direct {v1, v2, v3, v4, v5}, Landroid/graphics/Rect;-><init>(IIII)V

    invoke-interface {v0, v1}, Landroid/view/SurfaceHolder;->lockCanvas(Landroid/graphics/Rect;)Landroid/graphics/Canvas;

    move-result-object v0

    if-eqz v0, :cond_0

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Landroid/graphics/Canvas;->drawColor(I)V

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->b(Ljava/util/List;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->d:Landroid/graphics/Path;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->M:Landroid/graphics/Paint;

    invoke-virtual {v0, v1, v2}, Landroid/graphics/Canvas;->drawPath(Landroid/graphics/Path;Landroid/graphics/Paint;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->I:Landroid/view/SurfaceView;

    invoke-virtual {v1}, Landroid/view/SurfaceView;->getHolder()Landroid/view/SurfaceHolder;

    move-result-object v1

    invoke-interface {v1, v0}, Landroid/view/SurfaceHolder;->unlockCanvasAndPost(Landroid/graphics/Canvas;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 5

    const/4 v1, 0x0

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/16 v0, 0x14

    if-ne p1, v0, :cond_4

    const/4 v0, -0x1

    if-ne p2, v0, :cond_2

    if-eqz p3, :cond_2

    const-string/jumbo v0, "emps"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lez v2, :cond_2

    const-string/jumbo v2, ""

    move-object v3, v2

    move v2, v1

    :goto_0
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v2, v1, :cond_1

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->g:Ljava/lang/String;

    if-eqz v1, :cond_0

    const-string/jumbo v4, "-1"

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->g:Ljava/lang/String;

    invoke-virtual {v4, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, " "

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    :goto_1
    add-int/lit8 v2, v2, 0x1

    move-object v3, v1

    goto :goto_0

    :cond_0
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, "@"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, " "

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    goto :goto_1

    :cond_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->k()Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;

    move-result-object v0

    if-nez v0, :cond_3

    :cond_2
    :goto_2
    return-void

    :cond_3
    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/dailyreport/view/DailyMultilineTextView;->a(Ljava/lang/CharSequence;)V

    goto :goto_2

    :cond_4
    const/16 v0, 0x28

    if-ne p2, v0, :cond_2

    const-string/jumbo v0, "index"

    invoke-virtual {p3, v0, v1}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->x:I

    iget v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->x:I

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->b(I)V

    goto :goto_2
.end method

.method public onBackPressed()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->f()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->back()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 6

    const/16 v5, 0x80

    const/4 v4, 0x0

    const v3, 0x7f020158

    const v1, 0x7f020136

    const/16 v2, 0x8

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->i()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->H:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->C:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->n:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Landroid/app/Activity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->j:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview;->r()V

    goto :goto_0

    :sswitch_1
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-wide v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->z:J

    sub-long/2addr v0, v2

    const-wide/16 v2, 0x7d0

    cmp-long v0, v0, v2

    if-gez v0, :cond_1

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->z:J

    goto :goto_0

    :cond_1
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->z:J

    const v0, 0x7f08021c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->e()V

    goto :goto_0

    :sswitch_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->i()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->C:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->H:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_2

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Landroid/app/Activity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->H:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v4}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->n:Landroid/widget/ImageView;

    const v1, 0x7f02013e

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0

    :cond_2
    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/util/a;->b(Landroid/app/Activity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->H:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->n:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0

    :sswitch_3
    const-string/jumbo v0, "daily_voiceinput_templet"

    invoke-static {p0, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->m()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    sget-object v1, Lcom/fiberhome/gaea/client/base/e;->b:Lcom/fiberhome/gaea/client/base/e;

    invoke-virtual {v0, v1}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->a(Lcom/fiberhome/gaea/client/base/e;)V

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    sget-object v1, Lcom/fiberhome/gaea/client/base/e;->b:Lcom/fiberhome/gaea/client/base/e;

    invoke-virtual {v0, v1}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b(Lcom/fiberhome/gaea/client/base/e;)Lcom/ryg/dynamicload/internal/DLIntent;

    move-result-object v0

    invoke-static {p0}, Lcom/ryg/dynamicload/internal/DLPluginManager;->getInstance(Landroid/content/Context;)Lcom/ryg/dynamicload/internal/DLPluginManager;

    move-result-object v1

    invoke-virtual {v1, p0, v0}, Lcom/ryg/dynamicload/internal/DLPluginManager;->startPluginService(Landroid/content/Context;Lcom/ryg/dynamicload/internal/DLIntent;)I

    goto/16 :goto_0

    :sswitch_4
    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->i()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->H:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->n:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->C:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_3

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Landroid/app/Activity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->C:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->o:Landroid/widget/ImageView;

    const v1, 0x7f02013e

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto/16 :goto_0

    :cond_3
    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/util/a;->b(Landroid/app/Activity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->C:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto/16 :goto_0

    :sswitch_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->l:Landroid/widget/TextView;

    const v1, 0x7f080566

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->v:Lcom/waiqin365/compons/c/f;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->p:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->l:Landroid/widget/TextView;

    invoke-static {v5, v5, v5}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->k:Landroid/widget/ImageView;

    const v1, 0x7f020140

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->l:Landroid/widget/TextView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setEnabled(Z)V

    goto/16 :goto_0

    :sswitch_6
    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->d()V

    goto/16 :goto_0

    :sswitch_7
    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->i()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->C:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->H:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->n:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    new-instance v1, Lcom/waiqin365/lightwork/directory/b/v;

    invoke-direct {v1}, Lcom/waiqin365/lightwork/directory/b/v;-><init>()V

    const/4 v2, 0x1

    iput-boolean v2, v1, Lcom/waiqin365/lightwork/directory/b/v;->j:Z

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "\uff20"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const v3, 0x7f080210

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightwork/directory/b/v;->f:Ljava/lang/String;

    const-string/jumbo v2, "param"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/16 v1, 0x14

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :sswitch_8
    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->f()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->back()V

    goto/16 :goto_0

    :sswitch_9
    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->i()V

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/dailyreport/SendScopeActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "index"

    iget v2, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->x:I

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    invoke-virtual {p0, v0, v4}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c05a8 -> :sswitch_0
        0x7f0c05a9 -> :sswitch_2
        0x7f0c05aa -> :sswitch_7
        0x7f0c05ab -> :sswitch_4
        0x7f0c05b0 -> :sswitch_3
        0x7f0c05ba -> :sswitch_6
        0x7f0c05bb -> :sswitch_5
        0x7f0c05bd -> :sswitch_9
        0x7f0c0657 -> :sswitch_8
        0x7f0c0659 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->requestWindowFeature(I)Z

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->isClearFocus:Z

    const v0, 0x7f0300f3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->setContentView(I)V

    sget-object v0, Lcom/waiqin365/lightapp/dailyreport/util/a;->j:Ljava/util/ArrayList;

    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd HH:mm:ss SSS"

    invoke-direct {v0, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->a:Ljava/text/SimpleDateFormat;

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->b:Ljava/util/Calendar;

    const/16 v0, 0x9

    iput v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->s:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "dailyItemInfo"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/j;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->P:Lcom/waiqin365/lightapp/dailyreport/c/j;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->c()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->l()V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    sget-object v0, Lcom/waiqin365/lightapp/dailyreport/util/a;->j:Ljava/util/ArrayList;

    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->u:Lcom/waiqin365/compons/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->u:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->h()V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->f:Landroid/content/BroadcastReceiver;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    return-void
.end method

.method public onPageScrollStateChanged(I)V
    .locals 0

    return-void
.end method

.method public onPageScrolled(IFI)V
    .locals 0

    return-void
.end method

.method public onPageSelected(I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->d(I)V

    return-void
.end method

.method protected onResume()V
    .locals 4

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onResume()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->H:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;->C:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/ac;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/dailyreport/ac;-><init>(Lcom/waiqin365/lightapp/dailyreport/NewDailyTempletActivity;)V

    const-wide/16 v2, 0x32

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_1
    return-void
.end method
